package cn.com.roy.thread.t3_1_3.test4;

public class RunCls1 {
    public static void main(String[] args) {
        Object lock = new Object();
        MyService service = new MyService();

        ThreadA a = new ThreadA(lock);
        a.start();

        try {
            Thread.sleep(5000);
        } catch (InterruptedException e) {
            e.printStackTrace();
        }

        a.interrupt();
    }
}
